package com.heiye.blog.oss.biz.strategy;

import com.heiye.blog.oss.api.model.dto.AudioStreamUploadDTO;
import com.heiye.blog.oss.biz.enums.FileStorageTypeEnum;

/**
 * @author: heiye
 * @date: 2024/11/21 下午1:31
 * @version: v1.0.0
 * @description: 文件策略接口
 */
public interface FileStrategy {
    /**
     * 获取策略类型枚举
     *
     * @return
     */
    FileStorageTypeEnum getStrategyTypeEnum();

    /**
     * 音频文件流式上传
     *
     * @param audioStreamUploadDTO
     * @return
     */
    String audioStreamUpload(AudioStreamUploadDTO audioStreamUploadDTO);
}
